package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.ruoyi", "com.shm"})
@MapperScan("com.shm.mapper")
@EnableRabbit
@EnableCaching
public class RuoYiApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("  ______    __                            __             ______                                                               ______            __  __           \n" +
                " /      \\  /  |                          /  |           /      \\                                                             /      \\          /  |/  |          \n" +
                "/$$$$$$  |_$$ |_     ______    ______   _$$ |_         /$$$$$$  | __    __   _______   _______   ______    _______  _______ /$$$$$$  |__    __ $$ |$$ | __    __ \n" +
                "$$ \\__$$// $$   |   /      \\  /      \\ / $$   |        $$ \\__$$/ /  |  /  | /       | /       | /      \\  /       |/       |$$ |_ $$//  |  /  |$$ |$$ |/  |  /  |\n" +
                "$$      \\$$$$$$/    $$$$$$  |/$$$$$$  |$$$$$$/         $$      \\ $$ |  $$ |/$$$$$$$/ /$$$$$$$/ /$$$$$$  |/$$$$$$$//$$$$$$$/ $$   |   $$ |  $$ |$$ |$$ |$$ |  $$ |\n" +
                " $$$$$$  | $$ | __  /    $$ |$$ |  $$/   $$ | __        $$$$$$  |$$ |  $$ |$$ |      $$ |      $$    $$ |$$      \\$$      \\ $$$$/    $$ |  $$ |$$ |$$ |$$ |  $$ |\n" +
                "/  \\__$$ | $$ |/  |/$$$$$$$ |$$ |        $$ |/  |      /  \\__$$ |$$ \\__$$ |$$ \\_____ $$ \\_____ $$$$$$$$/  $$$$$$  |$$$$$$  |$$ |     $$ \\__$$ |$$ |$$ |$$ \\__$$ |\n" +
                "$$    $$/  $$  $$/ $$    $$ |$$ |        $$  $$/       $$    $$/ $$    $$/ $$       |$$       |$$       |/     $$//     $$/ $$ |     $$    $$/ $$ |$$ |$$    $$ |\n" +
                " $$$$$$/    $$$$/   $$$$$$$/ $$/          $$$$/         $$$$$$/   $$$$$$/   $$$$$$$/  $$$$$$$/  $$$$$$$/ $$$$$$$/ $$$$$$$/  $$/       $$$$$$/  $$/ $$/  $$$$$$$ |\n" +
                "                                                                                                                                                       /  \\__$$ |\n" +
                "                                                                                                                                                       $$    $$/ \n" +
                "                                                                                                                                                        $$$$$$/  ");
    }
}
